package com.game.springbootstart.service.impl;

import com.game.springbootstart.entity.GamesDetails;
import com.game.springbootstart.mapper.GamesDetailsMapper;
import com.game.springbootstart.service.IGamesDetailsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 游戏申请表 服务实现类
 * </p>
 *
 * @author author
 * @since 2025-02-24
 */
@Service
public class GamesDetailsServiceImpl extends ServiceImpl<GamesDetailsMapper, GamesDetails> implements IGamesDetailsService {

    @Autowired
    private GamesDetailsMapper gamesDetailsMapper;
    @Override
    public void setStatus(Integer id) {
        gamesDetailsMapper.setStatus(id);
    }

    @Override
    public String getGameUrl(Long id) {
        return gamesDetailsMapper.getGameUrl(id);
    }
}
